package edu.suda.xsap.mapper;
import edu.suda.xsap.entity.MemCard;
import edu.suda.xsap.entity.Member;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface MemCardMapper {
    void save(MemCard memCard);//保存到数据库中


    List<MemCard> findAll();

    void update(MemCard memCard);//修改

    void deleteById(Integer id);//根据id删除

    List<MemCard> findById(Integer id);
}
